import http from "@/api";

/**
 * @name 门户模块
 */

// 获取资源列表
export const getResourceList = params => {
  return http.post("/portal/eduResource/page", params);
};

export const getAppList = params => {
  return http.post("/portal/app/index", params);
};

export const addLog = params => {
  return http.post("/portal/app/accessLog/add", params);
};

export const getCaptchaImage = () => {
  return http.get("/captchaImage");
};

export const loginApi = params => {
  return http.post("/api/admin/login", params);
};

// 账号：13758680850
// 密码：wct2567!@SS
